<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/9/26
 * Time: 13:40
 */

namespace App\Model\Banners;


class BannersBean extends \EasySwoole\Spl\SplBean
{
    protected $id;
    protected $title;
    protected $image;
    protected $publishtime;
    protected $endtime;
    protected $url;
    protected $switch;

    public function setId($id)
    {
        $this->id = $id;
    }
    public function getId()
    {
        return $this->id;
    }
    public function setTitle($title)
    {
        $this->title = $title;
    }
    public function getTitle()
    {
        return $this->title;
    }
    public function setImage($image)
    {
        $this->image = $image;
    }
    public function getImage()
    {
        return $this->image;
    }
    public function setPublishtime($publishtime)
    {
        $this->publishtime = $publishtime;
    }
    public function getPublishtime()
    {
        return $this->publishtime;
    }
    public function setEndtime($endtime)
    {
        $this->endtime = $endtime;
    }
    public function getEndtime()
    {
        return $this->endtime;
    }
    public function setUrl($url)
    {
        $this->url = $url;
    }
    public function getUrl()
    {
        return $this->url;
    }
    public function setSwitch($switch)
    {
        $this->switch = $switch;
    }
    public function getSwitch()
    {
        return $this->switch;
    }
}